﻿using System;
using System.Collections.Generic;
using System.Linq;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository
{
    public interface ITradeUpdateRepository
    {
        void BulkInsert(IEnumerable<TradeUpdate> ids);

        Dictionary<int, DateTime> GetUpdateDates(int id);

        int GetLastProcessedItem();
        List<T> GetList<T>(Func<IQueryable<TradeUpdate>, IEnumerable<T>> f);
    }
}
